import request from '@/utils/request';

export async function getNotice(params) {
  return request(`sys/message/list`, {
    method: 'GET',
    params,
  });
}

export async function putNotice(params) {
  return request(`/sys/message`, {
    method: 'PUT',
    params,
  });
}
export async function DeleteNotice(params) {
  return request(`sys/message/${params}`, {
    method: 'DELETE',
  });
}
